package com.java.pertar.mybatis;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserInfoXML {

    List<UserInfo> SelectById();

    List<UserInfo> SelectAll();

    Integer InsertSomething(UserInfo userInfo);

    Integer InsertSomething2(@Param("user") UserInfo userInfo);

    Integer Update1(Integer id, String name, Integer age);

    Integer Delete1(Integer id);

    List<Articleinfo> SelectArticle(Integer id);
}
